﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfApp1.Models
{
    public class Car
    {
        public Car(long id, string name, long brandId)
        {
            Id = id;
            Name = name;
            BrandId = brandId;
        }

        public long Id { get; set; }
        public string Name { get; set; }
        public long BrandId { get; set; }
        public Uri Image { get; set; }
        public string Color { get; set; }
        public DateTime Pubdate { get; set; }
        public double Speed { get; set; }
    }
}
